let httpInterface = {};


const SERVER_TYPE_SIT = 'sit';
const SERVER_TYPE_PRD = 'prd';


const SERVER_URL_SIT = "http://192.168.1.5:9002";  // 本地调试
const SERVER_PASH = "http://www.flcbim.cn";  // 线上环境    http://www.flcbim.cn    /flcApi
const SERVER_URL_PRD = SERVER_PASH + "/zhgdmanager";


var serverType = SERVER_TYPE_PRD;
httpInterface.serverUrl = serverType == SERVER_TYPE_SIT ? SERVER_URL_SIT : SERVER_URL_PRD;
httpInterface.lappUrl = SERVER_PASH + "/yingshi/api";  // 萤石url
httpInterface.lechengUrl = SERVER_PASH + "/lecheng";  // 乐橙云url

export default httpInterface;
